@import "../../style/constant.scss";

.container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all .3s linear;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content {
  display: flex;
  width: 305px;
  margin-top: 30px;
  padding: 193px 20px 16px;
  background-color: white;
  border-radius: 12px;
  flex-direction: column;
  align-self: center;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bg {
  position: absolute;
  border-radius: 12px;
  left: 0;
  top: 0;
  right: 0;
  width: 305px;
  height: 231px;
}

.title {
  z-index: 1;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  font-family: PingFangSC-Medium;
  @include ifndef(word-break, break-word, rn);
}

.desc {
  z-index: 1;
  color: #595959;
  font-size: 14px;
  line-height: 26px;
  margin: 8px 0 20px;
}

.btnContainer {
  width: 192px;
  height: 45px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: $theme;
}

.btnText {
  color: white;
  font-weight: 500;
  font-size: 18px;
}

.btn2Container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 12px;
}

.placeHolder {
  height: 20px;
  margin-top: 12px;
}

.btn2Text {
  color: $theme;
  text-decoration: underline;
  line-height: 20px;
  font-size: 14px;
}

.btn2HiddenText {
  //color: transparent;
}

.closeBtn {
  display: flex;
  flex-direction: row;
  align-self: center;
  margin-top: 28px;
}

.closeIcon {
  width: 31px;
  height: 31px;
}
